import { getUserList } from "@/api/userApi";
import { useRequest } from "alova/client";
// import { ILoginParams, login } from "@/api/userApi";

export const useGetUserList = () => {
  const { data, loading, error, send } = useRequest(getUserList());
  return { data, loading, error, send };
};
